<?php
$sourceFileName = 'http://scenic/sergo/testiframe/content/home1.html';

$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $sourceFileName );
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1) ;
$content = curl_exec( $ch );
$response = curl_getinfo( $ch );
curl_close ( $ch );
if ($response["http_code"] == '200'){
	echo $content;
}else{
	readfile("./home.html");
}
?>